package com.ruoyi.business.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 外单位转入对象 file_external_units_form
 *
 * @author ruoyi
 * @date 2024-11-18
 */
@Data
public class FileExternalUnitsForm extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 来档单位 */
    @ExcelProperty(value = "来档单位")
    private String comingUnits;

    /** 转递方式 */
    @ExcelProperty(value = "转递方式")
    private Long transmittingType;

    /** 转递时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ExcelProperty(value = "转递时间")
    private Date transmittingDate;

    /** 送到人 */
    @ExcelProperty(value = "送到人")
    private String deliveredPeople;

    /** 接收人 人员表 */
    @ExcelProperty(value = "接收人 人员表")
    private Long recipients;

    @TableField(exist = false)
    private String recipientsName;

    /** 备注 */
    @ExcelProperty(value = "备注")
    private String remarks;

    /** 附件 */
    @ExcelProperty(value = "附件")
    private String attachments;
}
